package com.xiaoxiang.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoxiang.auth.entity.Role;

import java.util.List;

/**
 * (Role)表服务接口
 *
 * @author haha
 * @since 2022-02-13 11:49:08
 */
public interface RoleService extends IService<Role> {

    /**
     * 根据用户id查询对应的角色
     */
    List<Role> queryRoleByUserId(Long uid);
}
